<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>eNewStore</title>

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="<c:url value="/assets/css/bootstrap.css"/>" rel="stylesheet">
    <link href="<c:url value="/assets/css/global.css"/>" rel="stylesheet">
    <link  rel="stylesheet" href="<c:url value="/assets/css/toastr.min.css"/>">
    <link href="<c:url value="/assets/css/dataTables.bootstrap.css"/>" rel="stylesheet">


    <script type='text/javascript' src="<c:url value="/assets/js/jquery-2.0.0.min.js"/>"></script>
    <script type='text/javascript' src="<c:url value="/assets/js/jquery.dataTables.min.js"/>"></script>
    <script type='text/javascript' src="<c:url value="/assets/js/dataTables.bootstrap.js"/>"></script>
    <script type='text/javascript' src="<c:url value="/assets/js/bootstrap.min.js"/>"></script>
    <script type='text/javascript' src="<c:url value="/assets/js/toastr.min.js"/>"></script>
</head>

<!-- HTML code from Bootply.com editor -->

<body>

<!-- Header -->
<jsp:include page="../Menu_template/menuHeader.jsp"/>

<!-- Main -->
<div class="container">

    <!-- upper section -->
    <div class="row">
        <jsp:include page="../Menu_template/menu_sideReappro.jsp"/>
        <!-- /span-3 -->
        <div class="col-md-9">
            <hr>
            <div class="row">
                <!-- center left-->
                <div class="col-md-12">

                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4>Alertes Stocks Pickings</h4>
                        </div>
                        <div class="panel-body">
                            <div class="panel-body">
                                <br>
                                <table id="example" class="table table-bordered" cellspacing="0" width="100%">
                                    <thead>
                                    <tr>
                                        <th>IDPalette</th>
                                        <th>Nb Articles</th>
                                        <th>Incident</th>

                                    </tr>
                                    </thead>

                                    <tbody>
                                        <form class="form-signin" role="form" action="/ReapproPicking" method="GET">
                                            <c:forEach var="article" items="${lstArticlePicking}">
                                                    <td> ${mouv.IDPalette}</td>
                                                    <td> ${mouv.LibIncident.}</td>
                                                    <td> ${article.sLibelle}</td>
                                                    <td> ${article.sSousCat}</td>
                                                    <td> <fmt:formatNumber value="${article.eStockPickingMini}" minFractionDigits="0" maxFractionDigits="0"/></td>
                                                    <td> <fmt:formatNumber value="${article.eStockAlertePicking}" minFractionDigits="0" maxFractionDigits="0"/></td>
                                                    <td> <fmt:formatNumber value="${article.eStockPickingSecurite}" minFractionDigits="0" maxFractionDigits="0"/></td>
                                                    <td> ${article.eQteTotale}</td>
                                                </tr>
                                            </c:forEach>
                                        </form>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--/panel-body-->
                    </div>
                    <!--/panel-->
                </div>
                <!--/col-->
            </div>


            <script type='text/javascript'
                    src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>


            <script type='text/javascript'
                    src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>

        </div>
    </div>
</div>
</body>
</html>